package com.sgffsg.learn.javalib.javabasic;

/**
 * @author: lmk
 * @date: 2024/5/2
 * @desc:
 */
public class Test {
    public static void main(String[] args) {
        String s = "a good    example";
        StringBuilder sb = new StringBuilder(s);
        String[] array = s.split(" ");
        for (int i = 0; i < array.length; i++) {
            System.out.println("["+array[i]+"]");
        }
    }
}
